Skip to content

Added Game_DrawDiamond() function for drawing a diamond shape #27

Open
davidrgaffney wants to merge 2 commits intomuhlbaier:masterfrom
davidrgaffney:master
Open

Added Game_DrawDiamond() function for drawing a diamond shape #27
davidrgaffney wants to merge 2 commits intomuhlbaier:masterfrom
davidrgaffney:master

Conversation

@davidrgaffney
Copy link
Copy Markdown

Draws a Diamond Shape on the screen using the x, y position and w width and h height.

Copy link
Copy Markdown
Owner

@muhlbaier muhlbaier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add documentation to the header (move the parameter documentation from .c to .h)

Comment thread include/game.h
#endif

void Game_DrawDiamond(char c, uint8_t x, uint8_t y, uint8_t w, uint8_t h);
//@param x: x coordinate of top corner of invisible square that bounds the diamond
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doxygen documentation blocks should start with /** and go before the thing being documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants